
package com.demo.zyt.modules.app.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.demo.zyt.common.dto.majorplan.MajorPlanDTO;
import com.demo.zyt.common.dto.majorplan.MajorPlanSubjectDTO;
import com.demo.zyt.modules.app.entity.MajorPlanEntity;

/**
 * 招生计划dao
 * 
 */
@Mapper
public interface MajorPlanDao extends BaseMapper<MajorPlanEntity> {

	List<MajorPlanDTO> queryByCondition(Pagination page, @Param("params") Map<String, Object> params);

	List<MajorPlanSubjectDTO> queryByCollege(@Param("collegeId") Integer collegeId, @Param("collegeName") String collegeName, @Param("location") String location, @Param("location2") String location2);

	Integer querySchoolCountByCondition(@Param("params") Map<String, Object> params);

}
